Skip to main content

RandomDate

RandomDate[] gives a pseudorandom date in the current calendar year.

RandomDate[{datemin,datemax}] gives a pseudorandom date between the dates datemin and datemax.

RandomDate[date] gives a pseudorandom date between the start and end of the calendar period date.

RandomDate[quantity] gives a pseudorandom date between now and the time quantity duration from now.

RandomDate[range,n] gives a list of n pseudorandom dates.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.